﻿using System.ComponentModel.Composition;
using System.Windows;
using System.Windows.Controls;

namespace Login
{
    /// <summary>
    /// Interaction logic for Hierarchy.xaml
    /// </summary>
    [Export("Hierarchy")]
    public partial class Hierarchy : UserControl
    {
        public Hierarchy()
        {
            InitializeComponent();
        }

        [Import]
        public HierarchyViewModel HierarchyViewModel
        {
            get { return DataContext as HierarchyViewModel;}
            set { DataContext = value; }
        }
    }
}
